<template>
  <div class="chat-container">
    <div class="chat-window">
      <MessageList />
    </div>
    
    <div class="input-container">
      <MessageInput />
    </div>
  </div>
</template>

<script setup>
import MessageList from '@/components/chat/MessageList.vue'
import MessageInput from '@/components/chat/MessageInput.vue'
</script>

<style lang="scss" scoped>
.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  
  .chat-window {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f9f9f9;
  }
  
  .input-container {
    padding: 20px;
    border-top: 1px solid #ebeef5;
    background-color: #fff;
  }
}
</style>